CREATE TABLE [dbo].[TTMOTV_ANUP]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_MOTV_ANUL] [dbo].[TD_VC_003] NOT NULL,
[DE_MOTV_ANUL] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTMOTV_AN__CO_US__3A0D7D32] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTMOTV_AN__FE_US__3B01A16B] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTMOTV_AN__CO_US__3BF5C5A4] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTMOTV_AN__FE_US__3CE9E9DD] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTMOTV_ANUP] ADD CONSTRAINT [PK__TTMOTV_A__E225C7925F7EF903] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_MOTV_ANUL]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTMOTV_ANUP] ADD CONSTRAINT [FK__TTMOTV_AN__CO_EM__62B06B69] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
